﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterPage/Site.Master" AutoEventWireup="true" CodeBehind="CambioEstadosComandas.aspx.cs" Inherits="new_Seminario.CambioEstadosComandas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Cambio de estado comandas</h2>
    <p>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BarCafeConnectionString %>" 
            
            SelectCommand="SELECT [Nro_Comanda], [Id_Estado], [Id_Reserva], [Reserva_Nro_Reserva] FROM [Comanda]">
        </asp:SqlDataSource>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" CellPadding="4" DataKeyNames="Nro_Comanda" 
            DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" 
            Width="909px">
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            <Columns>
                <asp:BoundField DataField="Nro_Comanda" HeaderText="Nro_Comanda" 
                    InsertVisible="False" ReadOnly="True" SortExpression="Nro_Comanda" />
                <asp:BoundField DataField="Id_Estado" HeaderText="Id_Estado" 
                    SortExpression="Id_Estado" />
                <asp:BoundField DataField="Id_Reserva" HeaderText="Id_Reserva" 
                    SortExpression="Id_Reserva" Visible="False" />
                <asp:BoundField DataField="Reserva_Nro_Reserva" 
                    HeaderText="Reserva_Nro_Reserva" SortExpression="Reserva_Nro_Reserva" />
            </Columns>
            <EditRowStyle BackColor="#999999" />
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#E9E7E2" />
            <SortedAscendingHeaderStyle BackColor="#506C8C" />
            <SortedDescendingCellStyle BackColor="#FFFDF8" />
            <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
              <emptydatatemplate>

  
           No se encontraron datos.  

        </emptydatatemplate> 
        </asp:GridView>
    </p>
    <p>
        <asp:Button ID="Button2" runat="server" Text="Pasar a ejecucion" />
        <asp:Button ID="Button3" runat="server" Text="Pasar a finalizada" />
        <asp:Button ID="Button4" runat="server" Text="Pasar a entregada" />
    </p>
    <p>&nbsp;</p>
</asp:Content>
